﻿@model Model.Employee
@{
    ViewBag.Title = "Default";
}

<title>员工编辑</title>
<script src="~/js/jquery-1.6.2.min.js"></script>
<script src="/js/public_ajax.js" type="text/javascript"></script>
<script src="/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
<link href="/css/UserEdit.css" rel="stylesheet" type="text/css" />

@using (Html.BeginForm(null, null, FormMethod.Post, new { id = "frmMain" }))
{
    <div class="pageTitle">
        <p><img src="/css/image/tubiao_28.png" />您的位置：<span>员工编辑</span></p>
        <a href="javascript:history.go(-1);" class="fanHui">返回</a>
    </div>

    <div class="editDiv">
        <table class="editTable" id="tb">
            <tr>
                <td>姓名：</td>
                <td>
                    @Html.EditorFor(m => m.EmployeeName)
                </td>

                <td>电话：</td>
                <td>
                    @Html.EditorFor(m => m.Phone)
                </td>
            </tr>
            <tr>
                <td>工号：</td>
                <td>
                    @Html.EditorFor(m => m.EmployeeNumber)
                </td>

                <td>昵称：</td>
                <td>
                    @Html.EditorFor(m => m.Nickname)
                </td>
            </tr>

            <tr>
                <td colspan="4" align="center">
                    <input type="submit" class="submitInput" value="" />
                    <span>@Html.Raw(@ViewBag.EditResult)</span>
                </td>
            </tr>
        </table>
    </div>
}
